package com.crr.ex;

import java.util.Map;

public class BusinessException extends RuntimeException{
    Map<String,Object> errors;//记录验证错误字段

    public BusinessException(String message) {
        super(message);
        this.errors = errors;
    }

    public Map<String, Object> getErrors() {
        return errors;
    }

    public void setErrors(Map<String, Object> errors) {
        this.errors = errors;
    }
}
